Ramsey Theory
Ramsey Theory for Finite Graphs
Six people are waiting in the lobby of a hotel. Prove that there are either three of them who know each other, or three of them who do not know each other.
Ramsey theorem for graphs
Let and be two positive integers, both of which are at least two. Then there exists a (minimal) positive integer so that if we color the edges of a complete graph with vertices red and blue, then this graph will either have a subgraph with only red edges, or a subgraph with only blue edges.
Proof
We prove the statement by a new version of mathematical induction on and . This induction will run as follows. First we prove the initial conditions that and exist for all , and all . Then we take the induction step, proving that if exists, and also exists, then also exists.
To see that the initial conditions hold, note that , and similarly, . Indeed, either all edges of a are red, and then it has a subgraph with all edges red, or at least one of its edges is blue, in which case it has a subgraph with all edges blue. Analogous argument works for We prove the induction step by showing that
Indeed, take a complete graph with vertices. Take one of its vertices, and call it . As has degree , it has either at least blue edges adjacent to it, or it has at least red edges adjacent to it.
In the first case, let denote the -element set of the other endpoints of these blue edges. Then, by the definition of , the set either contains a monochromatic red and we are done, or a monochromatic blue , which can be completed to a monochromatic blue by adding the vertex , and we are done.
In the second case, let denote the -element set of the other endpoints of these red edges. Then again, either contains a monochromatic blue and we are done, or a monochromatic red , which can be completed to a monochromatic red by adding the vertex , and we are done again.
So the inequality is proved, therefore the induction step is proved, and therefore the theorem is proved.
Corollary
For all positive integers and , the inequality
holds.
Generalizations of the Ramsey Theorem
A circle of 17 friends has the property that no matter how we choose two from these 17 friends, those two people correspond with each other on one of three given subjects. Prove that there are three friends among the circle of these 17 friends such that any two of the three of them correspond with each other on the same subject.
Theorem
Let be positive integers, with fixed. Then there exists a minimal positive integer so that if , and we color all edges of with colors , then there will always be at least one index so that has a subgraph whose edges are all of color .
Proof
We prove the statement by induction on . The initial case of is trivial. Now let us assume that we know the statement for all positive integers whose sum is less than , and prove it for the case when their sum is .
Note that by our induction hypothesis, we know that the positive integer exists. Set . Let us assume that has a vertex so that the color that occurs most frequently among the edges adjacent to is color 1 . That means that at least edges adjacent to that vertex are of color 1 . Let be the set of the endpoints of these edges (other than ), and let the complete graph with vertex set .
By the definition of either there exists a vertex so that has a subgraph with all edges colored and we are done, or has a subgraph with all edges colored 1, and then we are done again, adding to this subgraph.
The Erdős-Szekeres theorem
Let be a positive integer. Then there exists a (minimal) positive integer so that if there are points given in the plane, no three of which are collinear, then we can choose points from them that form a convex -gon.
Proof
We claim that will always be such a positive integer (not necessarily the minimal one). Take the complete graph whose vertices are our points in the plane. Color its triangles red or blue according to the following rule. Number the points from 1 to , and color a triangle red if the path from the smallest number via the middle one to the largest one is clockwise. Color a triangle blue if that path is counterclockwise.
As our graph has vertices, there will be a subgraph with monochromatic triangles. We claim that the vertices of this subgraph form a convex -gon. To see this, it suffices to show that there are no four vertices in this subgraph so that one is within the triangle spanned by the other three.
Let us assume without loss of generality that , and that all triangles of our at hand are red. Then the fact that triangle is red forces . (Indeed, would mean that the triangle is blue, and would mean that either the triangle is blue, or , in which case triangle is blue.) Then, however, , and triangle is blue, which is a contradiction. This completes the proof.